package priv.bestbeat.reportcenter.core.mq;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.messaging.MessageHeaders;

/**
 * @author 张渠钦
 * @date 2022/4/28 11:34
 */
@Data
@EqualsAndHashCode(callSuper = true)
public abstract class SpringMessage<T> extends Message<T> implements org.springframework.messaging.Message<T>{

    /**
     * 消息头
     */
    private MessageHeaders headers;

}
